package com.scorpio.chatnotify.mapper;

import com.scorpio.chatnotify.domain.AutoGreetEntity;
import com.scorpio.common.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 自动打招呼Mapper接口
 *
 * @author scorpio
 * @date 2020-10-10
 */
@Mapper
public interface AutoGreetMapper extends BaseDao<AutoGreetEntity> {

    /**
     * 获取随机一条
     *
     * @return
     */
    AutoGreetEntity selectRrandOne(@Param("atSex") String atSex);

}
